package staticTest.staticFather;

public class Father {
	
	static String fatherName="fathername1";
	static
	{
		System.out.println("静态初始化块1里面fatherName="+fatherName);
	}
	
	static 
	{
		fatherName="fathername2";
	}
	
	static
	{
		System.out.println("静态初始化块2里面fatherName="+fatherName);
	}
	
	{
		fatherName="fathername3";
	}
	
	{
		System.out.println("初始化块1里面fatherName="+fatherName);
		fatherName="fathername4";
	}
	
	public Father()
	{
		System.out.println("构造器里面fatherName="+fatherName);
		fatherName="fathername5";
	}
	
	{
		System.out.println("初始化块2里面fatherName="+fatherName);
	}
	public static void main(String[] args) {
		
		new Father();
		new Father();
	}
	
}
